export function base64Decode(decodedata){
    const base64String = decodedata
    const decodedBytes = atob(base64String);
    // 将字节串转换为 Uint8Array
    const uint8Array = new Uint8Array(decodedBytes.split('').map(c => c.charCodeAt(0)));
    // 使用 TextDecoder 解码为字符串
    const decoder = new TextDecoder("utf-8");
    const decodedString = decoder.decode(uint8Array);
    console.log("base64String to decodedString===========+++++++++",decodedString)
    // 返回解析后的菜单数据
    return JSON.parse(decodedString);
}
